The Supreme Court on Tuesday pulled up Governor RN Ravi, declaring his decision to withhold bills passed by the state Assembly as “illegal”.