Stratified integrals and unknots in invisid flows