Court confirms 7-year jail to two for bid on Naidu