What are the limitations of a writ petition?